#pragma

#include "inode.h"
#include <string>
#include <iostream>
#include <vector>
#include "superblock.h"
#include "data.h"
#define min(a,b) (a)<(b)?(a):(b)

using namespace std;

extern const SuperBlock* superblock;
extern Inode* root;
extern Inode* stand;
extern Inode* temp;
extern char inode_bit_map[1024];
extern char data_bit_map[1024];
extern FILE* fp;

void createFile();

void listDir();

void createDir();

void changeDir(string&);

void deleteFile();

void cat();

void cp();

void sum();



